package com.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 用户实体
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 用户编号*/
    @TableId(value = "pk_userId", type = IdType.AUTO)
    private Integer userId;

    /** 用户名*/
    @TableField("u_name")
    private String name;

    /** 用户密码*/
    @TableField("u_pwd")
    private String pwd;

    /** 真实名*/
    @TableField("u_tureName")
    private String tureName;


}
